package com.ifamily.dao;

import java.util.Collection;

public interface GenericDao<T> {

    void saveOrUpdate(T entity);

    void deleteEntity(T delEntity);

    void saveOrUpdateAll(Collection<T> entities);

    T findById(int id);

}
